package com.sc.pojo;

import lombok.Data;
import lombok.ToString;

/**
 * @description: 评论
 * @author: sc
 * @create: 2023-01-04 11:35
 **/
@Data
@ToString
public class Comment {
         private String   userid;
         private int      fieldid;
         private String   comment;
         private String   time;

    public Comment() {
    }

    public Comment(String userid, int fieldid, String comment, String time) {
        this.userid = userid;
        this.fieldid = fieldid;
        this.comment = comment;
        this.time = time;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public int getFieldid() {
        return fieldid;
    }

    public void setFieldid(int fieldid) {
        this.fieldid = fieldid;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "userid='" + userid + '\'' +
                ", fieldid=" + fieldid +
                ", comment='" + comment + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}